package view;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 * This class launches the GUI for the Beweave application.
 * 
 * @author Shane Kwon
 * @version 2013-02-26
 * 
 */
public final class BeweaveMain {

    /**
     * Creates the login frame and starts it. Ignores command line arguments.
     * 
     * @param the_args
     *            command line arguments
     */
    public static void main(final String[] the_args) {
        try {
            // Set System L&F
            UIManager.setLookAndFeel(UIManager
                    .getCrossPlatformLookAndFeelClassName());
        } catch (UnsupportedLookAndFeelException e) {
            // handle exception
        } catch (ClassNotFoundException e) {
            // handle exception
        } catch (InstantiationException e) {
            // handle exception
        } catch (IllegalAccessException e) {
            // handle exception
        }
        final BeweaveFrame gui = new BeweaveFrame();
        gui.start();
    }

    /**
     * Private constructor to prevent instantiation.
     */
    private BeweaveMain() {
        // do nothing
    }
}
